import { createStore } from 'vuex'

const store = createStore({
    state: {
        tabbarIndex: 0
    },
    mutations: {
        changeTabbarIndex(state, index) {
            state.tabbarIndex = index
        }
    }
})

export default store
